package com.threeti.mecool.core.application.message;

import com.threeti.mecool.core.domain.model.message.MobileMessage;
import com.threeti.mecool.core.exception.MessageException;

import java.util.Date;

public interface MessageService {
    /** async call */
    void send(MobileMessage msg) throws MessageException;

    /** async call */
    void confirmAccount(String userLoginName) throws MessageException;

    String getAccountPassword(String userLoginName);

    String getHost();

    int getPort();

    String getMobileHost();

    int getMobilePort();

    String getService();

    void saveReceipt(Long messageId, Date receivedDate);
}
